﻿using AdminSystem.Domain.User;
using Microsoft.EntityFrameworkCore;
using System.Diagnostics.Metrics;

namespace AdminSystem.EntityFrameworkCore
{
    public class AdminSystemDBContext : DbContext
    {
        public AdminSystemDBContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<UserInfo> userInfos { get; set; }
        public DbSet<Role> roles { get; set; }
        public DbSet<RawMaterial> rawMaterials { get; set; }
        public DbSet<Shopp> shopps { get; set; }
        public DbSet<Slaughter> slaughters { get; set; }
        public DbSet<Tracebility> tracebilities { get; set; }
        public DbSet<Provices> Provices { get; set; }
        public DbSet<Processings> Processings { get; set; }
        public DbSet<HealthCares> HealthCares { get; set; }
        public DbSet<Citys> Citys { get; set; }

        public DbSet<County> Countys { get; set; }

        public DbSet<CultivationInfo> CultivationInfos { get; set; }
        public DbSet<Enterprise> Enterprises { get; set; }

        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<Farms> Farms { get; set; }

    }
}
